package br.com.commons.utility;

import java.util.HashMap;
import java.util.Map;

import com.google.gson.Gson;

public class Attibute {

	private Map<String, Object> attributes;
	
	public Attibute(){
		this.attributes = new HashMap<String, Object>();
	}
	
	public void addAttributes(String key, Object value) {
		attributes.put(key, value);
	}
	
	public String getJsonByAttribute() {
		return new Gson().toJson(attributes);
	}
}
